package com.example.raspberry_pi_demob.DAO;

import java.util.List;
import org.springframework.stereotype.Repository;
import com.example.raspberry_pi_demob.entity.Equipment;

@Repository("EquipmentDAO")
public interface EquipmentDAO extends MyBatisBaseDao<Equipment, Integer> {
    List<Equipment> selectAll();

    int insert(Equipment equipment);

    Equipment selectByPrimaryKey(String macAddress);

}
